package com.sdruixinggroup.mondayb2b;

import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.TextView;

import com.sdruixinggroup.mondayb2b.ui.BaseActivity;

/**
 * Created by jia on 17/11/8.
 */

public class TestBActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView textView=new TextView(this);
        textView.setBackgroundColor(Color.BLUE);
        textView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(TestBActivity.this,TestCActivity.class));
            }
        });
        setContentView(textView);
    }
}
